X-Git-Url: http://git.cyclocoop.org//%22http:/%22.attribut_html%28%24lesurls%5B%24numero%5D%29.%22/%22?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fcontent%2FTextContentTest.php;h=b5480911df1700b4bc96d4b4ca2dc2bf78682d07;hb=45da5815517c408bafed6b3744766860afdcd7b8;hp=160149335254e8c573f74c5a517a0d46b5988248;hpb=707c74227c02a4f3d6332d8439eb1788cb801790;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/content/TextContentTest.php b/tests/phpunit/includes/content/TextContentTest.php index 1601493352..b5480911df 100644 --- a/tests/phpunit/includes/content/TextContentTest.php +++ b/tests/phpunit/includes/content/TextContentTest.php @@ -454,7 +454,7 @@ class TextContentTest extends MediaWikiLangTestCase { if ( $expectedNative === false ) { $this->assertFalse( $converted, "conversion to $model was expected to fail!" ); } else { - $this->assertInstanceOf( 'Content', $converted ); + $this->assertInstanceOf( Content::class, $converted ); $this->assertEquals( $expectedNative, $converted->getNativeData() ); } }